package com.relytosoft.mizar.media.analyze.api.pojo.dto;

import com.relytosoft.mizar.media.analyze.api.pojo.vo.AyCameraVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Author: zyc
 * @version: v1.0
 * @description: com.relytosoft.mizar.analyze.face.api.pojo.dto
 * @Date: 2022/5/13 9:58
 */
@ApiModel("AyFaceTaskSonDto")
public class AyFaceTaskSonDto implements Serializable {

    private static final long serialVersionUID = -2097801036600829403L;


    /**
     * 主任务ID
     */
    @ApiModelProperty(value = "主任务ID", required = true)
    @NotBlank(message = "主任务ID不能为空")
    private Integer faceTaskId;


    /**
     * 设备
     */
    @ApiModelProperty(value = "设备", required = true)
    @NotNull(message = "设备不能为空")
    private List<AyCameraVo> ayCameraVos;


    /**
     * 获得主任务ID
     */
    public Integer getFaceTaskId(){
        return this.faceTaskId;
    }
    /**
     * 设置主任务ID
     */
    public void setFaceTaskId(Integer faceTaskId){
        this.faceTaskId = faceTaskId;
    }



    /**
     * 获得设备
     */
    public List<AyCameraVo> getAyCameraVos() {
        return this.ayCameraVos;
    }

    /**
     * 设置设备
     */
    public void setAyCameraVos(List<AyCameraVo> ayCameraVos) {
        this.ayCameraVos = ayCameraVos;
    }





    @Override
    public String toString() {
        return "AyFaceTaskSonDto{" +
                ", faceTaskId=" + faceTaskId +
                ", ayCameraVos=" + ayCameraVos +
                '}';
    }
}
